<?php


namespace app\api\validate;


use think\Validate;

class AddressValidate extends Validate
{
    protected $rule = [
        'username' => 'require',
        'phone' => 'require|regex:^1[3,4,5,7,8,9][0-9]{9}$',
        'province_id' => 'require',
        'city_id' => 'require',
        'area_id' => 'require',
        'address' => 'require',
    ];

}